package org.itheima.service.impl;

import org.itheima.mapper.UserSearchHistoryMapper;
import org.itheima.pojo.UserSearchHistory;
import org.itheima.service.UserSearchHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UserSearchHistoryServiceImpl implements UserSearchHistoryService {

    @Autowired
    UserSearchHistoryMapper userSearchHistoryMapper;

    @Override
    public List<Map<String,Object>> findById(int id) {

        return userSearchHistoryMapper.findById(id);

    }
}
